]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: Make the compose key focus the search entry
authorRui Matos <tiagomatos@gmail.com>
Fri, 7 Aug 2015 13:16:58 +0000 (15:16 +0200)
committerRui Matos <tiagomatos@gmail.com>
Fri, 7 Aug 2015 13:34:34 +0000 (15:34 +0200)
This way composed characters can be used to start searches.

https://bugzilla.gnome.org/show_bug.cgi?id=753320

js/ui/viewSelector.js

index 660f619a9e02b718e8b22b6add9dc3d3f05f8bb4..3776b2c92994793adac4b464e7a7deb7d27c024b 100644 (file)
@@ -465,6 +465,9 @@ const ViewSelector = new Lang.Class({
     },
 
     _shouldTriggerSearch: function(symbol) {
+        if (symbol == Clutter.Multi_key)
+            return true;
+
         if (symbol == Clutter.BackSpace && this._searchActive)
             return true;